import { ColumnButton } from "./columnButton.model";


export enum ColumnType {
    Label,   //simple label 
    Link, //link and may have description under it
    ExternalLink, //link to external resource
    DateTime, //date time    
    MultiLine, //multiple lines of text
    Availability, //3 states filter: ok, nok, cancel
    Editable, //ediatble cell values
    Buttons //multiple buttons inside cell
}

export class ColumnOptions {
    constructor(
        public identifier: string,
        public name: string,
        public sizeClass: string,
        public canSearch: boolean,
        public type: ColumnType,        
        public dropOptionsList: any[] = undefined,
        public columnButtons: ColumnButton[] = undefined,
        public fixedColumn: boolean = true
    ) { }
};